package com.battery.system.domain;

import com.battery.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 积分兑换订单商品对象 ws_points_convert_items
 * 
 * @author battery
 * @date 2021-02-22
 */
public class WsPointsConvertItems
{
    /** 主键ID */
    private String id;

    /** 积分兑换申请ID */
    @Excel(name = "积分兑换申请ID")
    private String pointsConvertId;

    /** 商品id */
    @Excel(name = "商品id")
    private String itemId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String itemName;

    /** 数量 */
    @Excel(name = "数量")
    private Long buyCounts;

    /**  */
    @Excel(name = "")
    private String itemImg;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPointsConvertId(String pointsConvertId) 
    {
        this.pointsConvertId = pointsConvertId;
    }

    public String getPointsConvertId() 
    {
        return pointsConvertId;
    }
    public void setItemId(String itemId) 
    {
        this.itemId = itemId;
    }

    public String getItemId() 
    {
        return itemId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setBuyCounts(Long buyCounts) 
    {
        this.buyCounts = buyCounts;
    }

    public Long getBuyCounts() 
    {
        return buyCounts;
    }
    public void setItemImg(String itemImg) 
    {
        this.itemImg = itemImg;
    }

    public String getItemImg() 
    {
        return itemImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointsConvertId", getPointsConvertId())
            .append("itemId", getItemId())
            .append("itemName", getItemName())
            .append("buyCounts", getBuyCounts())
            .append("itemImg", getItemImg())
            .toString();
    }
}
